<script setup lang="ts">
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import { useSettingStore } from '@/store'
import { LayoutSetting } from '@/layout/common'
const { appSetting } = storeToRefs(useSettingStore())
</script>
<template>
	<el-config-provider :size="appSetting.layout.componentSize" :locale="zhCn" namespace="el">
		<router-view />
		<LayoutSetting v-if="appSetting.layout.settingDrawer" />
	</el-config-provider>
</template>

<style></style>
